<?php
defined('SYSPATH') or die('No direct access allowed.');
/* 
 * For this class, DO NOT using Id in table
 */
interface Domain_Dao_Interface_GenericObject{
    /**
     * @param Domain_Entities_Entity
     */
    public function load($o_entity);

    /**
     *
     * @param <Integer> $offset
     * @param <Integer> $limit
     */
    public function load_all($is_count = false,$offset=null,$limit=null,$filter = null, $sort = null);

    /**
     * @param Domain_Entities_Entity
     */
    public function insert($o_entity);

    /**
     * @param Domain_Entities_Entity
     */
    public function update($o_entity);

     /**
     * @param Domain_Entities_Entity
     */
    public function delete($o_entity);
}
?>
